package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.product.ProductSku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * title:
 * author: zgl
 * date: 2024/1/6
 * description：
 */
@Mapper
public interface ProductSkuMapper {
    void moreSave(@Param("skuList") List<ProductSku> skuList);

    List<ProductSku> getById(Long id);

    void updateById(ProductSku productSku);

    void updateByPid(Long id, Integer status);
}
